package com.rzj.sys_lab_assistant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @program: sys_lab_assistant
 * @description: 学生、游客实体类
 * @author: 作者
 * @create: 2021-06-28 10:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_student")
public class Student {

    private String studentNo; // 学号

    private String studentName; // 学生姓名

    private String studentPwd; // 密码

    private String studentMajor; // 专业

    private String studentCollege; // 学院

    private String studentGrade; // 年级

    private String studentMobile; // 手机号

    private String studentEmail; // 邮箱

    private String imgUrl; // 照片路径

    private int status; // 状态 0-禁用 1-正常 2-待审核

    private Timestamp createTime; // 创建时间

    private Timestamp modifyTime; // 更新时间

    public Student(String studentNo, String studentName,
                   String studentPwd, String studentMajor,
                   String studentCollege, String studentGrade,
                   String studentMobile, String studentEmail,
                   String imgUrl, int status) {
        this.studentNo = studentNo;
        this.studentName = studentName;
        this.studentPwd = studentPwd;
        this.studentMajor = studentMajor;
        this.studentCollege = studentCollege;
        this.studentGrade = studentGrade;
        this.studentMobile = studentMobile;
        this.studentEmail = studentEmail;
        this.imgUrl = imgUrl;
        this.status = status;
    }
}
